<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>



<c:forEach var="user" items="${pageInfo.list}">
    <tr>
        <td>${user.id}</td>
        <td>${user.username }</td>
        <td>${user.password }</td>
        <td>${user.status==1?"启用":"禁止" }</td>
        <td><f:formatDate value="${user.createTime }" pattern="yyyy年MM月dd日  HH:mm:ss" /></td>
        <td>
            <c:if test="${user.lastLoginTime !=null}">
                <f:formatDate value="${user.lastLoginTime}" pattern="yyyy年MM月dd日  HH:mm:ss" />
            </c:if>
        </td>
        <td>${user.remark }</td>
        <td>
            <a href="${basePath}/admin/adminUser/toUpdate?id=${user.id}" class="tablelink">编辑</a>
            <a name="delete" href="${basePath}/admin/adminUser/deleteAdminUserManage?id=${user.id }" class="tablelink"> 删除</a>
        </td>
    </tr>
</c:forEach>
<input type="hidden" id="pages" value="${pageInfo.pages }">
<input type="hidden" id="pageNum" value="${pageInfo.pageNum }">